<div ng-include="'html/shared/_baseheader.html'">
</div>
<div id="wrapper" style="top:0px;">
    <div id="scroller">
        <section>
            <div class="header_box">
                <span>投资记录详情</span>
                <i class="header_icon h_i_left" activeclass="nobgm" ng-click="go('back');$event.stopPropagation();"></i>
                <span ng-if="investinfo.userContractId&&(investinfo.productStatus==4||investinfo.productStatus==5||investinfo.productStatus==7)">
                    <i class="header_icon1 h_i_right" activeclass="nobgm" ng-click="go('/product/contractj');"></i>
                    <i class="header_icon1 h_i_right" ng-if="investinfo.businessTypeId==1" activeclass="nobgm" ng-click="go('/product/contract');"></i>
                </span>
            </div>
            <div class="puoduct_center">
                <div class="ct_top_con text_center">
                    <div class="p_p0">持有本金 (元)</div>
                    <div class="p_t16" ng-bind="investinfo.orderItemPrice | number :'0' ">0.00</div>
                    <div class="clearfix ct_bot">
                        <div class="pull-left ct_b_div">
                            <p>预期收益(元)</p>
                            <p class="n_fa ct_b_d_p_b" ng-bind="investinfo.repayInterest.toFixed(2)">0.00</p>
                        </div>
                        <p class="pull-left p_line"></p>
                        <div class="pull-left ct_b_div">
                            <p>已还金额(元)</p>
                            <p class="n_fa ct_b_d_p_b" ng-bind="investinfo.yiShouInterest.toFixed(2)">0.00</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="ctx_content lr_padd">
                <div class="ctx_c_top">
                    <p class="clearfix ctx_c_t_p_top">
                        <span class="ctx_c_t_p_t_tit" ng-bind="investinfo.productName"></span>
                        <span class="ctx_c_t_p_m_b pull-right {{investinfo.productStatus >=6 ? 'ctx_c_t_p_m_yi' :'ctx_c_t_p_m_huan' }}" ng-bind="investinfo.productStatus == 5 ? '还款中' : investinfo.productStatus >=6 ? '已回款' : '持有中'"></span>
                    </p>
                    <p class="clearfix ctx_c_t_p_top">
                        <span class="jl_r pull-left">预期年化率</span>
                        <span class="pull-right col_44">
                            <span class="n_fa" ng-bind="((investinfo.annualRateOfYear-investinfo.jiaXiRate) | AnnualRateOfYear).toFixed(1)"></span>%<span ng-if="investinfo.jiaXiRate" class="n_fa">+</span><span ng-if="investinfo.jiaXiRate" class="n_fa" ng-bind="(investinfo.jiaXiRate  | AnnualRateOfYear).toFixed(1)"></span><span ng-if="investinfo.jiaXiRate">%</span><span ng-if="investinfo.plusRate" class="n_fa">+</span><span ng-if="investinfo.plusRate" class="n_fa" ng-bind="(investinfo.plusRate | AnnualRateOfYear).toFixed(1)"></span><span ng-if="investinfo.plusRate">%</span>
                        </span>
                    </p>
                    <p class="clearfix ctx_c_t_p_top">
                        <span class="jl_r pull-left">还款方式</span>
                        <span class="pull-right ctx_c_font26" ng-bind="investinfo.repaymentTypeId==1?'等额本息':investinfo.repaymentTypeId==2?'等额本金':investinfo.repaymentTypeId==3?'先息后本':'到期还本付息'"></span>
                    </p>
                    <p class="clearfix ctx_c_t_p_top">
                        <span class="jl_r pull-left">持有时间</span>
                        <span class="pull-right ctx_c_font26" ng-bind="investinfo.productStatus == 3||investinfo.productStatus == 4?'满标后计算':((investinfo.minRepayDate)+'～'+(investinfo.maxRepayDate))"></span>
                    </p>
                </div>
                <div class="ctx_c_top1">
                    <img class="ctx_c_two_img" src="../../images/mine/border.png">
                    <p class="clearfix ctx_c_two_title">
                        <span class="pull-left">还款明细</span>
                    </p>
                    <div class="ctx_c_t_wrap" ng-repeat="obj in investinfo.repaymentItemFormDtos">
                        <div class="clearfix ctx_c_t_p po_re" bindonce>
                            <p class="clearfix">
                                <span class="pull-left ctx_c_t_title">还款日期</span>
                                <span class="pull-right n_fa" bo-bind="obj.repayTime | date :'yyyy-MM-dd'">2016-9-12</span>
                            </p>
                            <p class="clearfix">
                                <span class="pull-left ctx_c_t_title">兑付本金</span>
                                <span class="pull-right n_fa" bo-bind="(obj.repayPrincipal).toFixed(2)+'元'">0.00</span>
                            </p>
                            <p class="clearfix">
                                <span class="pull-left">兑付利息</span>
                                <span class="pull-right n_fa" bo-bind="(obj.repayInterest).toFixed(2)+'元'">0.00</span>
                            </p>
                        </div>
                        <div class="clearfix ctx_c_t_p1 po_re" bindonce>
                            <p class="clearfix">
                                <span class="pull-left ctx_c_t_title">基础利息</span>
                                <span class="pull-right n_fa" bo-bind="(obj.baseInterest).toFixed(2)+'元'">0.00</span>
                            </p>
                            <p class="clearfix" ng-if="obj.jiaXiInterest">
                                <span class="pull-left {{obj.plusInterest?'ctx_c_t_title':''}}">加息利息</span>
                                <span class="pull-right n_fa" bo-bind="(obj.jiaXiInterest).toFixed(2)+'元'">0.00</span>
                            </p>
                            <p class="clearfix" ng-if="obj.plusInterest">
                                <span class="pull-left">加息券利息</span>
                                <span class="pull-right n_fa" bo-bind="(obj.plusInterest).toFixed(2)+'元'">0.00</span>
                            </p>
                        </div>
                    </div>
                    <p ng-if="!investinfo.repaymentItemFormDtos.length > 0" class="ctx_nullinfo text_center">
                        暂无还款信息
                    </p>
                </div>
            </div>
        </section>
        <div id="pullUp" style="{{showpullup?'':'visibility: hidden;'}}">
            <span class="pullUpIcon"></span>
            <span class="pullUpLabel">上拉加载更多...</span>
        </div>
    </div>
</div>